package com.zimmur.service.impl.account;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.zimmur.dao.account.IUserAdviceDao;
import com.zimmur.model.account.UserAdvice;
import com.zimmur.service.account.IUserAdviceService;

@Service("userAdviceService")
public class UserAdviceServiceImpl implements IUserAdviceService {
	@Resource
	private IUserAdviceDao userAdviceDao;
	
	@Override
	public boolean insert(UserAdvice advice) {
		return userAdviceDao.insertSelective(advice)>0?true:false;
	}

}
